import { createRouter, createWebHashHistory } from 'vue-router'
import { Component } from 'vue'
import Home from '@/views/Home.vue'

type RouterItem = {
  path: string,
  name: string,
  component: Component,
}

const routes: RouterItem[] = [
  { path: '/', name: 'name', component: Home },
]

const router = createRouter({
  history: createWebHashHistory(),
  routes,
})

export default router